package com.gs.SynAntiWandering.view;

import com.gs.SynAntiWandering.apiresult.ApiResultData;
import com.gs.SynAntiWandering.db.dto.MemberDto;
import com.gs.SynAntiWandering.db.dto.ShortDto;
import com.gs.SynAntiWandering.db.dto.TagDto;

import java.util.Date;
import java.util.List;

public interface IMemberEditView extends IView {
    String getId();

    String getPhoto();

    String getCode();

    String getCardNo();

    String getCnName();

    String getEnName();

    String getIdCard();

    Date getBirthday();

    String getEmail();

    Boolean getSex();

    String getBedNum();

    String getRoomNum();

    String getFloorId();

    String getMemberTypeId();

    String getPhone();

    Integer getState();

    Date getStartAt();

    Date getEndAt();

    String getAddress();

    String getRemark();
    String geTagNums();


    void onUploadFileSuccess(ApiResultData<String> apiResult);

    void onUploadFileFails(Exception e);

    void onGetComListSuccess(ApiResultData<List<ShortDto>> result);

    void onGetComListFails(Exception msg);

    void onGetTagListSuccess(ApiResultData<List<TagDto>> result);

    void onGetTagListFails(Exception msg);

    void onGetMemberSuccess(ApiResultData<MemberDto> apiResult);

    void onGetMemberFails(Exception e);

    void onAddMemberSuccess(ApiResultData<String> apiResult);

    void onAddMemberFails(Exception e);

    void onEditMemberSuccess(ApiResultData<String> apiResult);

    void onEditMemberFails(Exception e);
}
